package com._dev.social.mapper;

import com._dev.social.mode.domain.Users;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
* @author Administrator
* @description 针对表【users】的数据库操作Mapper
* @createDate 2024-11-05 09:45:16
* @Entity com._dev.social.mode.domain.Users
*/
@Mapper
public interface UsersMapper extends BaseMapper<Users> {
    // 根据 ID 查找用户
    @Select("select * from users where uid=#{userId}")
    public  Users findUserById(String userId);
}




